package com.Test.SportsPerson;

public class PingPongPlayer extends Person implements SayEnglish {
    @Override
    public void sayEnglish(Person person) {
        System.out.println(person.getName() +"说英语");
    }

    @Override
    public void play(Person person) {
        System.out.println(person.getName()+"学打篮球");

    }

    public PingPongPlayer(String name, int age) {
        super(name, age);
    }

    public PingPongPlayer() {
    }
}
